<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="vue.js" type="text/javascript">
			
		</script>
	</head>
	<body>
		<div id="app">
			<input v-model="username" />
		</div>
	</body>
	<script>
		var config={
			el:"#app",
			data:{
				username:"admin"
			},
			mounted:function(){
				window.alert("mounted");
			}
		}
		//启动vue
		var vue=new Vue(config);
	</script>
</html>
